<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <title>斗游游戏推广平台</title>
    <link href="../../static/js/plugins/ztree/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<#include "../header.ftl">
<#include "../nav-top.ftl">
<div class="sui-container" style="margin-top: 30px;">
    <ul class="sui-breadcrumb" style="padding: 0px 0px">
        <li><a href="#">系统支撑</a></li>
        <li><a href="#">角色管理</a></li>
        <li class="active">角色详情</li>
    </ul>
    <form id="form-user" class="sui-form form-horizontal" novalidate="novalidate">
        <div class="sui-row-fluid">

            <div class="span10">

                <div class="control-group">
                    <label for="roleName">角色：</label>
                    <div class="controls">
                        <input class="input-xlarge input-fat" id="roleName" name="roleName" type="text"
                               placeholder="账号" value="${role.roleName}">
                    </div>
                </div>
                <div class="control-group">
                    <label for="roleRemark">备注：</label>
                    <div class="controls">
                        <textarea rows="3" class="input-xlarge" id="roleRemark"
                                  name="roleRemark">${role.roleRemark!""}</textarea>
                    </div>
                </div>


            </div>
        </div>
        <div class="sui-row-fluid">
            <div class="span3">
                <div class="sui-row-fluid">
                    <table class="sui-table table-bordered-simple">
                        <thead>
                        <tr>
                            <th>授权角色</th>
                        </tr>
                        </thead>
                    </table>
                </div>
                <div class="sui-row-fluid" style="max-height: 300px;overflow-y: auto">
                    <table class="sui-table table-bordered-simple">
                        <tbody>
                        <tr>
                            <td>
                                <div id="div_com">
                                    <ul id="ztree" class="ztree"></ul>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="sui-row-fluid" style="margin-top: 20px;">
            <div class="span3">
            <#if editFlag == '1'>
                <button href="javascript:void(0);" type="submit" class="sui-btn btn-xlarge btn-primary edit-role"
                        data-id="${role.roleId}">确定
                </button>
            </#if>
                <a href="/role" class="sui-btn btn-xlarge btn-info back_role" data-id="${role.roleId}">返回</a>
            </div>
        </div>
    </form>
</div>
<#include "../footer.ftl">
<script src="../../static/js/plugins/sea/sea.js"></script>
<script src="../../static/js/sea.config.js"></script>
<#--<script src="../../static/js/game/user/account_charge.js"></script>-->
<script>
    seajs.use('/static/js/game/system/role_detail');
</script>
</body>
</html>
